package com.wateray.ipassbook.persistence.iface;

import java.util.List;
import java.util.Map;

import com.wateray.ipassbook.domain.PassbookTrade;
import com.wateray.ipassbook.domain.form.PassbookTradeForm;

public interface PassbookTradeDao {
  PassbookTradeForm getPassbookTradeFormById(Map<String, String> map);
  List<PassbookTradeForm> getPassbookTradeFormList(Map<String, String> map);
  
  int insertPassbookTrade(PassbookTrade trade);
  int updatePassbookTrade(PassbookTrade trade);
  int deletePassbookTrade(PassbookTrade trade);
  String getPassbookTradeMaxId();
}
